package com.wnnight.wys.vo;

import com.wnnight.wys.groupInterface.AddGroup;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Mr.Wang
 * @ClassName: LandlordVo
 * @Description: 业主多条件Vo类
 * @date: 2022/8/29-15:32
 */
@Getter
@Setter
@ToString
public class LandlordVo {
    private String name;
    private String phone;
    private String place;
    private String status;
    private String minSubTime;
    private String maxSubTime;
    @NotNull(message = "页码不能为空",groups = AddGroup.class)
    @Min(value = 1,message = "页码不合法")
    private int page;
    @NotNull(message = "每页大小不能为空",groups = AddGroup.class)
    @Min(value = 1,message = "每页大小不合法")
    private int pageSize;
}
